package com.spring.shops.service;

import com.spring.shops.model.entity.TzProdPropValue;
import com.spring.shops.model.result.ServerResponseEntityVoid;
import com.spring.shops.model.vo.ProdPropVO;
import com.spring.shops.model.vo.ProdPropVO3;

import java.util.List;

public interface ProdPropService2 {
    /**
     * 列出产品的所有属性
     * @return
     */
    ServerResponseEntityVoid<List<ProdPropVO3>> listSpec();
    /**
     * 根据产品属性id获取产品属性的所有值
     * @param specId
     */
    ServerResponseEntityVoid<List<TzProdPropValue>> getSpecValuesById(Integer specId);
    /**
     * 根据产品属性所有值的最大值id
     * @param
     */
    ServerResponseEntityVoid<Long> listSpecMaxValueId();
}
